<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>智能进出口服务平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
</head>
<body>
<div class="tsf-page-operation">
    <div class="layui-card">
        <form class="layui-form" method="post" lay-filter="operationForm" id="operationForm">
            <div class="layui-card-header"><span class="def-fc left-split">
                <i class="fa fa-check-circle-o"></i>确认进口</span>
            </div>
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md12">
                        <textarea name="memo" id="taskMemo" class="layui-textarea shortcut-val" placeholder="请填写意见"></textarea>
                    </div>
                    <div class="layui-col-md12 shortcut-selection">
                        <span class="layui-badge layui-bg-gray">OK</span>
                        <span class="layui-badge layui-bg-gray">请修改订单</span>
                        <span class="layui-badge layui-bg-gray">请重新验货确认</span>
                        <span class="layui-badge layui-bg-gray">客户余额不足</span>
                        <span class="layui-badge layui-bg-gray">客户存在逾期</span>
                    </div>
                </div>
                <div class="layui-row mt5 operation-btns">
                    <div class="layui-col-md12">
                        <button type="button" class="layui-btn layui-btn-primary operation-task-btn layui-disabled" id="confirmImp" status-code="waitDeclare" need-memo="#taskMemo" disabled><i class="fa fa-check-circle-o"></i>确认进口</button>
                        <button type="button" class="layui-btn layui-btn-danger operation-task-btn" status-code="waitFKExamine" need-memo="#taskMemo"><i class="fa fa-warning"></i>提交风控审批</button>
                        <button type="button" class="layui-btn layui-btn-warm operation-task-btn" status-code="waitEdit" need-memo="#taskMemo"><i class="fa fa-mail-reply"></i>退回修改</button>
                        <button type="button" class="layui-btn layui-btn-warm operation-task-btn" status-code="waitInspection" need-memo="#taskMemo"><i class="fa fa-mail-reply"></i>退回验货</button>
                        <button type="button" class="layui-btn layui-btn-primary close-window"><i class="fa fa-close"></i>关闭</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<div class="tsf-page-detail">
    <div class="layui-card-header"><span class="def-fc left-split">
         <i class="fa fa-money"></i>费用说明</span>
    </div>
    <div class="layui-card-body" id="costTempView">

    </div>
    <div id="orderDetail"></div>
</div>
<script type="text/html" id="costTemp">
    <div class="layui-row">
        <div class="layui-col-md12">
            <label class="fkey">收款未核销金额：</label><label class="fval">{{formatCurrency(d.receivablesVal)}}</label>
            <label class="fkey">订单总费用：</label><label class="fval">{{formatCurrency(d.orderTotalCost)}}</label>
            <label class="fkey">进口本单应支付金额：</label><label class="fval">{{formatCurrency(d.orderPayVal)}}</label>
            <label class="fkey">当前客户逾期金额：</label><label class="fval">{{formatCurrency(d.totalArrearsVal)}}</label>
            <label class="fkey">当前客户可用税款额度：</label><label class="fval">{{formatCurrency(d.taxOccupyVal)}}</label>
        </div>
        <div class="layui-col-md12">
            <blockquote class="layui-elem-quote">
                <div class="{{(d.isAdopt)?'success-color':'color-red'}}">
                    {{removeNull(d.reason)}}
                    {{d.isAdopt?'可正常进口':' 需要提交风控审批'}}
                </div>
                {{# if(!isEmpty(d.riskControl)){}}
                    <div class="{{(d.fkAdopt)?'success-color':'color-red'}}">{{d.riskControl}}</div>
                {{#}}}
            </blockquote>
        </div>
    </div>
</script>
<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/upload/file-config.js?v=202001010101"></script>
<script type="text/javascript" src="/upload/file.js?v=202001010101"></script>
<script type="text/javascript" src="/order/imp/confirm-imp.js?v=202001010101"></script>
</body>
</html>